﻿// add by zengtongchun 关闭窗口
function CloseWindow(action) {
    try {
        if (window.CloseOwnerWindow)
            return window.CloseOwnerWindow(action);
        else window.close();
    } catch (e) {
        console.log("+++++++++++");
        console.log(e);
        console.log(e.message);
    } 
    
}